package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Movies;

import java.util.List;

public interface MoviesService {
    //分页查询
    PageInfo<Movies> findByPage(Integer pageNum, Integer pageSize, Integer cid, String keyword);

    void save(Movies movies);

    Movies findById(Integer id);

    void deleteById(Integer id);

    void deleteIds(Integer[] ids);

    List<Movies> findAll();
}
